package com.efast.cafe.portal.service.common;

import java.util.List;

import com.efast.cafe.portal.bean.common.PortalCommonCollectionBean;
import com.efast.cafe.portal.remote.common.PortalCommonCollectionService;

public interface IPortalCommonCollectionService extends PortalCommonCollectionService{

	/**
	 * 添加休息日
	 * @param startDate
	 * @param endDate
	 * @param username
	 */
	public void addRestDay(Integer year,String startDate,String endDate,String username);
	
	
	/**
	 * 查詢年的休息日
	 * @param year yyyy
	 * @return
	 */
	public List<PortalCommonCollectionBean> queryRestDayByYear(Integer year,String username);
	
	
	
	/**
	 * 初始化企业工作日历
	 */
	public void initCompanyRest(Integer year);
	
	/**
	 * 删除用户的工作日历
	 * @param year
	 * @param username
	 */
	public void delRestDay(Integer year,String username,String startDate,String endDate);
}
